<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><{$site_title}>管理中心</title>
<{include file="js.html"}>

</head>

<body>
<div class="box">
<div style="background:url(images/mainbj.jpg) repeat-x; line-height:31px; height:31px;">
<table border="0" cellpadding="0" cellspacing="0">
<tr><td width="41" align="center">
<img src="images/biao1.jpg" /></td>
<td><strong>当前位置</strong>：公司管理 &gt; 公司列表</td>
</tr></table>
</div>

<form action="" method="get">
<table class="lefttab" cellpadding="0" cellspacing="0">
<tbody>
<tr><td colspan="4"><div style="height:26px; text-align:left; line-height:26px; background:url(images/xbj1.jpg) repeat-x; border:1px solid #e9f5fa;font-weight:bold;">&nbsp;&nbsp;搜索</div>
</td></tr>
<tr>
  <td align="right"><strong>用户名</strong>：</td>
  <td width="300" align="left">&nbsp;<input type="text" name="name" value="<{$search.name}>"/></td>
  <td align="right"><strong>邮箱</strong>：</td>
  <td width="300" align="left">&nbsp;<input type="text" name="email" value="<{$search.email}>"/></td>
</tr>
<tr>
  <td align="right"><strong>分组</strong>：</td>
  <td width="300" align="left">&nbsp;<select name="group_id">
  	<option value="" <{if $search.group_id==''}>selected="selected"<{/if}>>全部</option>
  	<{foreach item=loop from=$user_groups}>
  		<option value="<{$loop.id}>" <{if $search.group_id==$loop.id}>selected="selected"<{/if}>><{$loop.name}></option>
  	<{/foreach}>
  </select></td>
  <td width="300" align="left" colspan="2">&nbsp;<input type="submit" value="搜索"/></td>
</tr>
</tbody></table>
</form>

<table width="849" cellpadding="0" cellspacing="0" class="lefttab">
<tr><td colspan="7"><div style="height:26px; text-align:left; line-height:26px; background:url(images/xbj1.jpg) repeat-x; border:1px solid #e9f5fa;font-weight:bold;">&nbsp;&nbsp;公司管理</div>
</td></tr>
<tr style="background:#dceff6;" id="top">
  <td><strong>选择</strong></td>
  <td><strong>公司名称</strong></td>
  <td><strong>公司评级</strong></td>
</tr>
<{foreach item=row from=$row}>
<tr line_id="<{$row.id}>">
  <td style="width:100px"> <input type="checkbox" name="checkbox" value="<{$row.id}>" /></td>
  <td style="width:220px" value_id="<{$row.id}>"><{$row.title}></td>
  <td value_id="<{$row.id}>"><{$row.content}></td>
<{/foreach}>
<tr id="addTr">
 
</tr>
</table>
  <div class="fenye" padding-top:0px">
    <p>&nbsp;</p>
    <p >&nbsp;&nbsp;<a onclick='allcheck()' href="javascript:void(0)">全选</a> | <a onclick="del('<{$_basename}>?action=del','')" href="javascript:void(0)">删除</a> &nbsp;&nbsp;&nbsp;&nbsp;<{$page}>&nbsp;<a   style = "text-decoration:none;color:black;  font-size:60px; margin-right: 170px; float:right; margin-top:-10px"  href="javascript:void(0)" ><button  class="inp" style="width:80px; height:30px; " onclick="javascript:history.back(-1);">返回</button></a></p>
  </div>

</div>
<script type="text/javascript">
/*
	参数解释：
	title	标题
	url		请求的url
	id		需要操作的数据id
	w		弹出层宽度（缺省调默认值）
	h		弹出层高度（缺省调默认值）
*/
/*管理员-编辑*/
function admin_edit(title,url,id,w,h){
		//此处请求后台程序，下方是成功后的前台处理……
	layer_show(title,url,w,h);
}
/*管理员-增加*/
function admin_add(title,url,w,h){
	
	layer_show(title,url,w,h);
}
/*管理员-删除*/
function admin_del(obj,id){
	layer.confirm('确认要删除吗？',function(index){
		//此处请求后台程序，下方是成功后的前台处理……
		
		$(obj).parents("tr").remove();
		layer.msg('已删除!',{icon:1,time:1000});
	});
}



</script>
</body>
</html>